package com.one.rope.mvp.web.common.dto.admin.push;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author Weijian.Liu
 * @desc 新增会员推送任务请求参数
 * @date 2020/2/21 16:41
 */
@Data
@ApiModel
public class AdminSaveMemberPushDTO {

  @ApiModelProperty(value = "推送任务id, 新增id为空")
  private Long id;

  @ApiModelProperty(value = "任务名称")
  private String name;

  @ApiModelProperty(value = "推送类型(1:推送简历页 2:推送岗位详情页)")
  @JsonProperty("push_type")
  private Integer pushType;

  @ApiModelProperty(value = "推送页面地址")
  @JsonProperty("page_url")
  private String pageUrl;

  @ApiModelProperty(value = "推送目标，会员用户id")
  @JsonProperty("push_target")
  private Long pushTarget;
}
